/* 优化后的游戏大厅样式 */

.hall-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.user-info {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-info p {
    font-size: 18px;
    color: #34495e;
    line-height: 1.6;
    text-align: center;
}

.user-info span {
    font-weight: 700;
    color: #2c3e50;
}

#match-button {
    width: 100%;
    max-width: 300px;
    height: 60px;
    font-size: 20px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border: none;
    outline: none;
    border-radius: 12px;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

#match-button:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.6);
}

#match-button:active {
    background: linear-gradient(135deg, #d35400, #f39c12);
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.4);
}

/* 匹配中动画 */
.matching {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(243, 156, 18, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(243, 156, 18, 0);
    }
}